import request from '../utils/request'

export function getCaryardList() {
    return request({
        url: 'v1/caryard/list',
        method: 'get',
    })
}
export function putCaryard(data) {
    return request({
        url: 'v1/caryard',
        method: 'put',
        data
    })
}
export function postCaryard(data) {
    return request({
        url: 'v1/caryard',
        method: 'post',
        data
    })
}
export function deleteCaryard(data) {
    return request({
        url: 'v1/caryard',
        method: 'delete',
        data
    })
}
export function getCaryardById(id) {
    return request({
        url: 'v1/caryard/' + id,
        method: 'get',
    })
}